package cn.lzx.sentine;

import cn.lzx.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class OrderFallbackClass {

    public static User getHById(@PathVariable("id") Long id, Throwable throwable){
        return new User(-1L, "熔断服务降级触发！", "服务不可用，请稍后重试！");
    }
}
